﻿<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="friend_link_inc.asp" -->

<%

If Request.ServerVariables ("Request_Method")="POST" Then

	'禁止从网站外部提交数据
	Call Deny_OutSiteSubit()


	Call Friend_Link_Add()	
	
End If

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/2010admin/css/default.css" type="text/css" rel="stylesheet">
<title><%=web_title%></title>
<script language="javascript" src="/2010admin/js/validator.js"></script>

</head>
<body >
<table border="0" width="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="5"></td>
  </tr>
  <tr>
    <td width="100%" align="center">
      <table border="0" width="98%" cellSpacing="0" cellPadding="0">
        <tr>
          <td width="*" align="center" valign="top">
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">管理导航</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="20">&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="userlist"><a href="friend_link_Query.asp">友情链接列表</a></span>&nbsp;<img src="/2010admin/images/sico.gif" border="0">&nbsp;<span id="useradd"><a href="Friend_Link_Add.asp">增加新的友情链接</a></td>
                    </tr>
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0">
              <tr>
                <td width="100%" height="5"></td>
              </tr>
            </table>
            <table border="0" width="100%" cellSpacing="0" cellPadding="0" class="lrbtline">
              <tr>
                <td width="100%" height="25" class="tbtop">增加新的友情链接</td>
              </tr>
              <tr>
                <td width="100%" align="center">
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0" class="tableh">
                  <form name="form" method="post" action="" >

  					
                    <tr>
                      <td width="80" height="25">网站名称</td>
                      <td width="*"><input name="Site_Name" type="text" id="Site_Name" size="40" dtype="Limit" min="2" max="50" dmsg="网站名称必须在2-50个字符间"></td>
                    </tr>
                    <tr>
                      <td width="80" height="25">网站LOGO</td>
                      <td width="*"><input type="text" name="Site_Logo" size="50" value="<%=Site_Logo%>" ><iframe id=d_file frameborder=0 src="/2010admin/common/file_upload.asp?change_field=Site_Logo" width="500" height="40" scrolling=no></iframe>
                      </td>
                    </tr>

                    <tr>
                      <td width="80" height="25">网站URL</td>
                      <td width="*"><input name="Site_Url" type="text" id="Site_Url" size="40" dtype="Limit" min="2" max="100" dmsg="网站URL必须在2-100个字符间"></td>
                    </tr>

                    <tr>
                      <td height="25">链接类型</td>
                      <td><% MySelected "Link_Type","1,0,2","图片链接,文字链接,特别推荐","",Link_Type %></td>
                    </tr>

   
                    <tr>
                      <td width="80" height="25">网站顺序</td>
                      <td width="*"><input name="Site_Order" type="text" id="Site_Order" size="10" dtype="Integer" min="0" max="100" dmsg="网站顺序必须是数字"></td>
                    </tr>
				  <tr>
                      <td height="25">是否使用</td>
                      <td><% MyRadioList "Site_Flag","1,0","使用,未使用","1" %></td>
                    </tr>
                    <tr>
                      <td height="25">&nbsp;</td>
                      <td><input type="submit" name="submit1" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button"></td>
                    </tr>
                  </form>
                  </table>
                  <table border="0" width="98%" cellSpacing="0" cellPadding="0">
                    <tr>
                      <td width="100%" height="5"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="100%" height="5"></td>
  </tr>
</table>
</body>
</html>

<%
Call conn_close()
%>

